package cn.edu.jsu.zjj.model.entity;

import cn.zhxu.bs.bean.SearchBean;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@ApiModel(description = "用户工作信息")
@Data
@TableName(value = "sys_user_work")
@SearchBean(
        tables = "sys_user_work"
)
public class UserWork implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户工作ID", example = "1")
    private Long id;
    @ApiModelProperty(value = "用户ID", example = "1")
    private Long userId;
    @ApiModelProperty(value = "在何地何单位工作学习以及岗位情况", example = "北京某公司，担任XX职位")
    private String description = "";
    @ApiModelProperty(value = "开始时间", example = "2023-06-01")
    private LocalDate startDate;
    @ApiModelProperty(value = "结束时间", example = "2023-06-01")
    private LocalDate endDate;
    @ApiModelProperty(value = "证明人", example = "张三")
    private String certifier;
    @ApiModelProperty(value = "是否删除", example = "0")
    private Integer isDelete;
    @ApiModelProperty(value = "创建时间", example = "2023-06-01 12:00:00")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "副业情况", example = "副业")
    private String sideline;
    @ApiModelProperty(value = "是否删除", example = "0")
    private Integer isDeleted;
}
